<h2>Classes</h2>
<button dojoType='dijit.form.Button' onClick="window.location = '<?= Zend_Controller_Front::getInstance()->getBaseUrl() ?>/<?= Zend_Controller_Front::getInstance()->getRequest()->getModuleName() ?>/<?= Zend_Controller_Front::getInstance()->getRequest()->getControllerName() ?>/add';">Add New Class</button>
<ul>
<?php 
foreach($this->classTypes as $classType)
{
?>
<li>
	<?= $classType->getDisplayValue()?>
	<button dojoType='dijit.form.Button' onClick="window.location = '<?= Zend_Controller_Front::getInstance()->getBaseUrl() ?>/<?= Zend_Controller_Front::getInstance()->getRequest()->getModuleName() ?>/<?= Zend_Controller_Front::getInstance()->getRequest()->getControllerName() ?>/view/class_type_id/<?= $classType->class_type_id?>';">Edit</button>
	<button dojoType='dijit.form.Button' onClick="window.location = '<?= Zend_Controller_Front::getInstance()->getBaseUrl() ?>/<?= Zend_Controller_Front::getInstance()->getRequest()->getModuleName() ?>/<?= Zend_Controller_Front::getInstance()->getRequest()->getControllerName() ?>/list-instances/class_type_id/<?= $classType->class_type_id?>';">List</button>
	<button dojoType='dijit.form.Button' onClick="window.location = '<?= Zend_Controller_Front::getInstance()->getBaseUrl() ?>/<?= Zend_Controller_Front::getInstance()->getRequest()->getModuleName() ?>/<?= Zend_Controller_Front::getInstance()->getRequest()->getControllerName() ?>/add-instance/class_type_id/<?= $classType->class_type_id?>';">Add</button>
</li>
<?php
}

?>
</ul>